package org.example.secondkill.service;

import org.example.secondkill.domain.Order;
import org.example.secondkill.domain.vo.OrderVO;

public interface IOrderService {
    void createOrder(long userId, long goodsId);

    OrderVO getOrderByOrderId(long orderId);

    Order getOrderByUserIdAndGoodsId(long userId, long goodsId);

    void deleteAllOrders();

    void batchInsert();
}
